<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ctrl_ajouter
 *
 * @author Rolland
 */
class ctrl_ajouter {
    function __construct(){
        $connexion = new ctrl_connexion();
        if($connexion->verifierConnexion()){
            $affiche = new ctrl_afficherForm();
        }
        else{
            $auth = new vAuthentification();
            $auth->afficher();
            echo "<span style='color: red; font-weight: bold; text-align: center;'>Vous avez saisi un mauvais mot de passe !</span>";
        }
    }
}

?>
